<nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
<sf *ngIf="i" #sf mode="edit" [schema]="schema" [ui]="ui" [formData]="i" button="none">
  <ng-template sf-template="description3" let-me let-ui="ui" let-schema="schema">
    <input placeholder="请输入1-30" type="number" [ngModel]="sf.value.description3" style="width: 200px;" nz-input />
    <span> 天内支付运费</span>
  </ng-template>
  <ng-template sf-template="description1" let-me let-ui="ui" let-schema="schema">
    <div>{{sf.value.description1 | currency: 'CNY' }}(费率:<a>5.3%</a>)</div>
  </ng-template>
  <div class="modal-footer">
    <button nz-button type="button" (click)="close()">关闭</button>
    <button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="!sf.valid"
      [nzLoading]="http.loading">确认修改</button>
  </div>
</sf>